package cn.yaboya.basic.service;

import cn.yaboya.basic.utils.AjaxResult;
import cn.yaboya.basic.vo.LoginVo;
import cn.yaboya.basic.vo.WechatVo;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public interface ILoginService {
    // 根据账号密码登录
    Map<String, Object> account(LoginVo vo);
    // 根据手机号登录
    Map<String, Object> phone(LoginVo vo);

    AjaxResult wechat(WechatVo vo);

    HashMap<String, Object> binder(WechatVo vo) throws IOException;
}
